// page/projects/index.js
Page({
  data:{},
  onLoad:function(options){
    // 页面初始化 options为页面跳转所带来的参数
  },
  onReady:function(){
    // 页面渲染完成
  },
  onShow:function(){
    // 页面显示
  },
  onHide:function(){
    // 页面隐藏
  },
  onUnload:function(){
    // 页面关闭
  },
  jumpLink(e) {
    wx.redirectTo({
      url: '../questions/one/index?title=navigate',
      success:function(){
        var app=getApp()
        app.aldstat.sendEvent("开始测试")
      }
    })
  },
  onShareAppMessage: function () {
    return {
      title: this.data.title,
      desc: app.globalData.userInfo.nickName+'分享给你'+this.data.title+'【海风教育】',
      path: 'page/projects/result/A/index?title='+ this.data.title
    }
  },
})